import request from '@/utils/request'


export function getColumnList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/fund/admin/column/getList',
    method: 'post',
    data: query
  })
}   

export function saveColumn(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/fund/admin/column/save',
    method: 'post',
    data: query
  })
}   


export function copyColumn(query) {
  return request({
    url: '/fund/admin/column/copy',
    method: 'post',
    data: query
  })
}   
export function getColumnDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/fund/admin/column/getDetail',
    method: 'post',
    data: query
  })
}


export function removeColumn(query) {
  return request({
    url: '/fund/admin/column/remove',
    method: 'post',
    data: query
  })
}   